#include "StdAfx.h"
#include ".\iocontext.h"
#include "PoolMgr.h"

namespace Lumin {
namespace Win32 {

void *CIOContext::operator new(size_t objectSize)
{
	return CPoolMgr<CIOContext>::GetInstance()->Allocate(objectSize);
}

void CIOContext::operator delete(void *pObject, size_t /* bufferSize*/)
{
	CPoolMgr<CIOContext>::GetInstance()->Free(pObject);
}

}
}